<?php

Class BlistViewModel extends ViewModel{
   public $viewFields = array(
     'MedicalRecords'=>array('id'=>'rec_id','user_id','major','diagnostic','tp','pubtype','level','cashtype','searchtext','praise','_type'=>'LEFT'),
     'User'=>array('id','image','headimgurl','name','_on'=>'MedicalRecords.user_id=User.id'),
   );	
}